<script type="text/javascript">
	$( document ).ready(function() {
		
		updateGrids("/StockScreener/home_components/sma20_crossing/colData","/StockScreener/home_components/sma20_crossing/list","sma20_crossing_grid","sma20_crossing_gridpager");	
		makeColorOnrow();
		rowID = $('#sma20_crossing_grid').jqGrid('getDataIDs');
		//alert(rowID);
	});

	$(window).bind("load", function() {
		makeColorOnrow();
		
		//value =  $('#sma20_crossing_grid').jqGrid ('getCell', rowID, 'color-red');
		alert(rowID);
		});

	
</script>

<div class="table_body">
	<table id="sma20_crossing_grid"></table>
	<div id="sma20_crossing_gridpager"></div>
</div>
